package com.lylg.picture_share.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.lylg.picture_share.entity.Image;

import java.util.List;

public interface ImageService {
    void add(Image image);
    void passImage(Image image);
    Image getImageById(Integer id);
    PageInfo<Image> getAllImages(Image qb,Integer currentPage,Integer pageSize);

    void addPlayCount(Integer image_id);
    public PageInfo<Image> getAllImagesFront(Image qb,Integer currentPage,Integer pageSize);
    List<Image> getMyColelctImages(Integer userId);
    void addGoodCount(Integer image_id);
     List<Image> getMyGoodImages(Integer userId);
    List<Image> selectImagesByDesc();
    List<Image> selectImagesByName(Image image);



}
